#include<iostream>
using namespace std;

class Date
{
public:
	void Init( int year, int month, int day)
	{
		_year = year;
		_month = month;
		_day = day;
	}
	void Print()
	{
		cout << this->_year << endl;
		cout << this->_month << endl;
		cout << this->_day << endl;
	}
	void Print()
	{
		cout << _year << endl;
		cout << _month << endl;
		cout << _day << endl;
	}

public:
	int _year;
	int _month;
	int _day;
};
void Date_Init(Date* p, int year, int month, int day)
{
	p->_year = year;
	p->_month = month;
	p->_day = day;

}
void test1()
{
	Date d1;
	Date d2;
	d1.Init(2030, 1, 1);
	d2.Init(2040, 1, 2);

	d1._day++;
	d2._day++;

}



int main()
{
	test1();

	return 0;
}